package com.lagou.edu.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "lagou_auth_code")
@Data
@Accessors(chain = true)
public class AuthCode {

  @Id
  private Integer id;

  private String email;
  private String  code;

  private Date createTime;
  private Date expireTime;

}
